<template>
    <view class="no-more-box" :style="{background:moreColor}">
        <view class="box">
            <view class="box-border"></view>
            <view class="box-text">{{ moreTxt }}</view>
        </view>
    </view>
</template>

<script>

export default {
    props: {
        moreColor:{
            type:String,
            default:'#ffffff'
        },
        moreTxt:{
            type:String,
            default:'到底了~'
        }
    },
    components: {

    },
    computed: {},
    data() {
        return {

        };
    },
    onLoad() { },
    methods: {

    }
};
</script>

<style lang="scss" scoped>
.no-more-box {
    height: 148rpx;
    width: 100%;
    line-height: 148rpx;
    font-size: 22rpx;
    color: #999999;
    display: flex;
    align-items: center;
    justify-content: center;

    .box {
        width: 195rpx;
        height: 30rpx;
        margin: 0 auto;
        line-height: 30rpx;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;

        .box-border {
            width: 195rpx;
            height: 2rpx;
            background: #999999;

        }
        .box-text{
            width: 100rpx;
            height: 30rpx;
            text-align: center;
            line-height: 30rpx;
            color: #999999;
            font-size: 22rpx;
            position: absolute;
            left: 50%;
            margin-left: -50rpx;
            z-index: 2;
            background: #fff;
        }
    }
}
</style>
